/**
 * 指令处理器
 */
export type ICmdHandler = {
    /**
     * 处理消息
     * 
     * @param oMsg 消息
     */
    handle(oMsg: any): void
};

/**
 * 指令处理器字典
 * 
 * key = nMsgCode, val = ICmdHandler
 */
export const g_oCmdHandlerMap: Map<number, ICmdHandler> = new Map();
